package io.webchat.wdzl.mapper;


import io.webchat.wdzl.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


@Mapper
public interface UserMapper {


    //根据用户名查找指定用户对象
    User queryUserNameIsExit(@Param("username") String username);


    int insert(User user);

    User getById(String id);

    void updateByPrimaryKeySelective(User user);

    User selectByPrimaryKey(String id);
}
